#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main()
{
	int b = 0;
	int a = 1;
	for (a = 1; a >= 1 && a <= 100; a++)
	{
		while (a % 10 == 9)
		{
			
			b++;
			break;
		
		}
	}
	printf("%d ", b);
	return 0;
}